package com.cn.jinl.domain;

import com.cn.jinl.utils.CommonUtil;

import java.util.Date;

public class ProductStorageRelate {
    private String storageId;

    private String taskId;
    private String planId;

    private String boxCode;
    private String oldCode;

    private String dutyDay;

    private String whiteDay;
    private String locked;

    private String userId;
    private String userName;
    private String pgName;

    private String itemTypeId;
    private String gradeValue;
    private String thNumber;

    private int storageInCount;
    private int count;

    private double totalProductCount;

    private int inTotalCount; // 入库数量
    private String boxCodes;      // 入库箱码
    private Date createTime;

    public String getStorageId() {
        return storageId;
    }

    public void setStorageId(String storageId) {
        this.storageId = storageId == null ? null : storageId.trim();
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId == null ? null : taskId.trim();
    }

    public String getBoxCode() {
        return boxCode;
    }

    public void setBoxCode(String boxCode) {
        this.boxCode = boxCode == null ? null : boxCode.trim();
    }

    public String getDutyDay() {
        return dutyDay;
    }

    public void setDutyDay(String dutyDay) {
        this.dutyDay = dutyDay == null ? null : dutyDay.trim();
    }

    public String getWhiteDay() {
        return whiteDay;
    }

    public void setWhiteDay(String whiteDay) {
        this.whiteDay = whiteDay == null ? null : whiteDay.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLocked() {
        return locked;
    }

    public void setLocked(String locked) {
        this.locked = locked;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getItemTypeId() {
        return itemTypeId;
    }

    public void setItemTypeId(String itemTypeId) {
        this.itemTypeId = itemTypeId;
    }

    public String getGradeValue() {
        return gradeValue;
    }

    public void setGradeValue(String gradeValue) {
        this.gradeValue = gradeValue;
    }

    public int getStorageInCount() {
        return storageInCount;
    }

    public void setStorageInCount(int storageInCount) {
        this.storageInCount = storageInCount;
    }

    public String getThNumber() {
        return thNumber;
    }

    public void setThNumber(String thNumber) {
        this.thNumber = thNumber;
    }

    public double getTotalProductCount() {
        return totalProductCount;
    }

    public void setTotalProductCount(double totalProductCount) {
        this.totalProductCount = totalProductCount;
    }

    public String getPgName() {
        return pgName;
    }

    public void setPgName(String pgName) {
        this.pgName = pgName;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public String getCreateTimeFt(){
        String formatTime = CommonUtil.getStrTime(getCreateTime(),"yyyy-MM-dd HH:mm:ss");
        return formatTime;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getOldCode() {
        return oldCode;
    }

    public void setOldCode(String oldCode) {
        this.oldCode = oldCode;
    }

    public int getInTotalCount() {
        return inTotalCount;
    }

    public void setInTotalCount(int inTotalCount) {
        this.inTotalCount = inTotalCount;
    }

    public String getBoxCodes() {
        return boxCodes;
    }

    public void setBoxCodes(String boxCodes) {
        this.boxCodes = boxCodes;
    }
}